<!--{template admin/header_tpl}-->

<div class="mainarea">
	<div class="maininner">
		<div class="tabs_header">
			<ul class="tabs">
				<li><a href="#base"><span>全局设置</span></a></li>
				<li><a href="#seo"><span>搜索引擎优化</span></a></li>
			</ul>
		</div>		
		<form method="post" action="<!--{eval echo base_url()}-->admin/admin_config/index">
		<div class="bdrcontent">

		<table class="formtable">
		<tr>
			<th style="width:15em;">站点名称</th>
			<td><input type="text" name="config[sitename]" value="$configs[sitename]" size="50"></td>
		</tr>
		<tr>
			<th style="width:15em;">网站描述（头部显示）</th>
			<td><input type="text" name="config[sitedescribe]" value="$configs[sitedescribe]" size="50"></td>
		</tr>
		<tr>
			<th>站点联系邮箱</th>
			<td><input type="text" name="config[adminemail]" value="$configs[adminemail]" size="50"></td>
		</tr>
		<tr>
			<th>ICP/IP/域名备案</th>
			<td><input type="text" name="config[miibeian]" value="$configs[miibeian]" size="20"> (例如 京ICP备04000001号，显示在所有页面的最下面)</td>
		</tr>
		<tr>
			<th>站内公告</th>
			<td>
				<textarea name="config[site_notice]" cols="80" rows="4">$configs[site_notice]</textarea>
			</td>
		</tr>

		<tr>
			<th>第三方统计代码</th>
			<td>
				<textarea name="config[statcode]" cols="80" rows="4">$configs[statcode]</textarea>
			</td>
		</tr>
		<tr>
			<th>站点关闭访问</th>
			<td>
				<input type="radio" name="config[close]" value="1"<!--{if $configs[close] == '1'}--> checked<!--{/if}-->>是
				<input type="radio" name="config[close]" value="0"<!--{if $configs[close] != '1'}--> checked<!--{/if}-->>否
			</td>
		</tr>
		<tr>
			<th>站点关闭说明</th>
			<td>
				<textarea name="config[closereason]" cols="80" rows="4">$configs[closereason]</textarea>
			</td>
		</tr>
	
		</table>
		<br />
		
		<!--SEO-->
		<div class="title" id="seo">
			<a class="r_option" href="javascript:;" onclick="window.scrollTo(0,0);" id="a_top" title="TOP">TOP</a>
			<h3>搜索引擎优化</h3>
		</div>
		<table class="formtable">
		<tr>
			<th style="width:15em;">标题关键字</th>
			<td><input type="text" name="config[seo_title]" value="$configs[seo_title]" size="50"></td>
		</tr>
		<tr>
			<th>Meta keywords:</th>
			<td>
				<textarea name="config[seo_keywords]" cols="80" rows="4">$configs[seo_keywords]</textarea>
			</td>
		</tr>
		<tr>
			<th>Meta Description:</th>
			<td>
				<textarea name="config[seo_description]" cols="80" rows="4">$configs[seo_description]</textarea>
			</td>
		</tr>
		</table>
		<br />
		</div>
		<div class="footactions">	
			<input type="submit" name="thevaluesubmit" value="提交" class="submit">
		</div>
		</form>
	</div>
</div>
<div class="side">
	<!--{template admin/side}-->
</div>

<!--{template admin/footer_tpl}-->